package com.wyu.blog.dao;

import com.wyu.blog.entity.CommentLike;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

@Mapper
@Repository
@Qualifier("dbSqlSessionTemplate")
public interface CommentLikeMapper {

    void deleteLikeById(HashMap map);

    Integer insertLike(CommentLike commentLike);

    List<CommentLike> selectCommentLike(HashMap map);

    List<CommentLike> selectCommentNotLike(HashMap map);
}
